package com.loyom.navi.common;

import java.util.List;

import com.loyom.navi.base.BaseObject;

public class ListUtils extends BaseObject {

    private static final long serialVersionUID = 1L;

    public static <T> T fristOrNull(List<T> list) {

        if (list == null || list.isEmpty()) {
            return null;
        }
        return list.get(0);
    }
}
